package com.inspur.edp.bff.spi.action.cancel;

import com.inspur.edp.bef.api.lcp.IStandardLcp;
import com.inspur.edp.bff.api.manager.context.CancelContext;

public class DefaultCancelAction extends AbstractCancelAction {

    public DefaultCancelAction(CancelContext context) {
        super(context);
    }

    @Override
    protected void execute() {
        for (IStandardLcp lcp : getContext().getLcps().values()) {
            lcp.cancel();
        }
    }
}
